<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>EnsureVBRMP3Sync Avisynth Filter</title>
<link rel="stylesheet" type="text/css" href="../../avisynth.css">
</head>
<body >
<h2><a name="EnsureVBRMP3Sync"></a>EnsureVBRMP3Sync</h2>
<P><code>EnsureVBRMP3Sync </code>(<var>clip</var>)
<p><code>EnsureVBRMP3Sync</code> will ensure synchronization of video with
 variable bitrate audio (MP3-AVI's for example) during seeking or trimming. It
 does so by buffering the audio. The name of the filter is a bit misleading,
 since it is useful for every stream with variable bitrate audio and not just
 for MP3.
<p>It will slow seeking down considerably, but is very useful when using
 <code>Trim</code> for instance. Always use it before trimming.
<pre># Ensures that soundtrack is in sync after trimming
AviSource(&quot;movie.avi&quot;)
EnsureVBRMP3Sync()
Trim(250,2500)</pre>
<p><kbd>$Date: 2007/05/05 09:39:34 $</kbd></p>
<FORM>
<INPUT TYPE="Button" VALUE="Back"
onClick="history.go(-1)">
</form>
</body>
</html>
